/* 基础样式保持不变 */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  background: linear-gradient(135deg, #0084ff 0%, #af0877 100%);
  background-attachment: fixed;
  font-family: Arial, sans-serif;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content {
  margin-top: 5vh;
  text-align: center;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  width: 90%; /* 添加宽度限制 */
}

/* 登录容器响应式改进 */
.login-container {
  margin: 10vh auto; /* 上下间距使用vh，水平自动居中 */
  width: 80%; /* 相对宽度 */
  max-width: 50rem; /* 最大宽度限制 */
  min-height: auto;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
  display: flex;
  flex-wrap: wrap; /* 允许内容换行 */
}

/* 登录区域响应式改进 */
.login-section {
  flex: 1 1 300px; /* 基础宽度300px，可以伸缩 */
  padding-left: 2rem;
}

.promo-section {
  flex: 1;
  padding-right: 2.5rem;
  border-right: 0.0625rem solid rgba(255, 255, 255, 0.2);
}

.login-section {
  flex: 1;
  padding-left: 2.5rem;
}

.promo-item {
  margin-bottom: 1.875rem;
}

.promo-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
  color: #4fc3f7;
}

.promo-item p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
}

.login-container h1 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.8rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.25rem;
  box-sizing: border-box;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 0.9rem;
}

.form-group input:focus {
  outline: none;
  background: white;
}

.login-btn {
  margin-top: 2rem;
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(135deg, #0084ff 0%, #00ff55 100%);
  color: white;
  border: none;
  border-radius: 0.25rem;
  box-sizing: border-box;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
  font-size: 1rem;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
